package BUS;

import junit.framework.TestCase;

public class SearchResultObjectTest extends TestCase {

	public SearchResultObjectTest(String name) {
		super(name);
	}

	@Override
	protected void setUp() throws Exception {
		super.setUp();
	}

	@Override
	protected void tearDown() throws Exception {
		super.tearDown();
	}

	public void testSoNhaString() {
		fail("Not yet implemented");
	}

	public void testSoNhaString01() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.SoNha("12A");
		String actual = searchObj.SoNha();
		String expected = "12A";
		assertEquals(expected, actual);
	}

	public void testSoNhaString02() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.SoNha("123");
		String actual = searchObj.SoNha();
		String expected = "123";
		assertEquals(expected, actual);
	}

	public void testSoNhaString03() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.SoNha("");
		String actual = searchObj.SoNha();
		String expected = "";
		assertEquals(expected, actual);
	}

	public void testSoNhaString04() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.SoNha("-12");
		String actual = searchObj.SoNha();
		String expected = "-12";
		assertEquals(expected, actual);
	}

	public void testMaDichVuInt() {
		fail("Not yet implemented");
	}

	public void testMaDichVuInt01() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.MaDichVu(100);
		int actual = searchObj.MaDichVu();
		int expected = 100;
		assertEquals(expected, actual);
	}

	public void testMaDichVuInt02() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.MaDichVu(-100);
		int actual = searchObj.MaDichVu();
		int expected = -100;
		assertEquals(expected, actual);
	}

	public void testMaDichVuInt03() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.MaDichVu(0);
		int actual = searchObj.MaDichVu();
		int expected = 0;
		assertEquals(expected, actual);
	}

	public void testMaDichVuInt04() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.MaDichVu(100000);
		int actual = searchObj.MaDichVu();
		int expected = 100000;
		assertEquals(expected, actual);
	}

	public void testMaTenDiaDiemInt() {
		fail("Not yet implemented");
	}

	public void testMaTenDiaDiemInt01() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.MaTenDiaDiem(123);
		int actual = searchObj.MaTenDiaDiem();
		int expected = 123;
		assertEquals(expected, actual);
	}

	public void testMaTenDiaDiemInt02() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.MaTenDiaDiem(-123);
		int actual = searchObj.MaTenDiaDiem();
		int expected = -123;
		assertEquals(expected, actual);
	}

	public void testMaTenDiaDiemInt03() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.MaTenDiaDiem(12300000);
		int actual = searchObj.MaTenDiaDiem();
		int expected = 12300000;
		assertEquals(expected, actual);
	}

	public void testMaTenDiaDiemInt04() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.MaTenDiaDiem(-12300000);
		int actual = searchObj.MaTenDiaDiem();
		int expected = -12300000;
		assertEquals(expected, actual);
	}

	public void testMaDuongInt() {
		fail("Not yet implemented");
	}

	public void testMaDuongInt01() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.MaDuong(123);
		int actual = searchObj.MaDuong();
		int expected = 123;
		assertEquals(expected, actual);
	}

	public void testMaDuongInt02() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.MaDuong(-123);
		int actual = searchObj.MaDuong();
		int expected = -123;
		assertEquals(expected, actual);
	}

	public void testMaDuongInt03() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.MaDuong(12300000);
		int actual = searchObj.MaDuong();
		int expected = 12300000;
		assertEquals(expected, actual);
	}

	public void testMaDuongInt04() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.MaDuong(-12300000);
		int actual = searchObj.MaDuong();
		int expected = -12300000;
		assertEquals(expected, actual);
	}

	public void testMaPhuongInt() {
		fail("Not yet implemented");
	}

	public void testMaPhuongInt01() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.MaPhuong(123);
		int actual = searchObj.MaPhuong();
		int expected = 123;
		assertEquals(expected, actual);
	}

	public void testMaPhuongInt02() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.MaPhuong(-123);
		int actual = searchObj.MaPhuong();
		int expected = -123;
		assertEquals(expected, actual);
	}

	public void testMaQuanHuyenInt() {
		fail("Not yet implemented");
	}

	public void testMaQuanHuyenInt01() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.MaQuanHuyen(123);
		int actual = searchObj.MaQuanHuyen();
		int expected = 123;
		assertEquals(expected, actual);
	}
	
	public void testMaQuanHuyenInt02() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.MaQuanHuyen(-123);
		int actual = searchObj.MaQuanHuyen();
		int expected = -123;
		assertEquals(expected, actual);
	}

	public void testMaTinhThanhInt() {
		fail("Not yet implemented");
	}
	
	public void testMaTinhThanhInt01() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.MaTinhThanh(123);
		int actual = searchObj.MaTinhThanh();
		int expected = 123;
		assertEquals(expected, actual);
	}
	
	public void testMaTinhThanhInt02() {
		SearchResultObject searchObj = new SearchResultObject();
		searchObj.MaTinhThanh(-123);
		int actual = searchObj.MaTinhThanh();
		int expected = -123;
		assertEquals(expected, actual);
	}

}
